# ndarray：Numpy的心脏（N-dimensional array:多维数组）
import numpy as np 
a = np.array([1,2,3])
print('------数组------')
print(a)
print('------type(array)------ ')
print(type(a))
print('------array.dtype------')
print(a.dtype)
print('------轴axes数量：ndim------')
print(a.ndim)
print('------数组长度------')
print(a.size)
print('------数组形状------')
print(a.shape)